<?php

class ApplicationEntity {

    public $ApplicationID = null;
    public $ApplicationTypeID = null;
    public $ApplicationHandleSchoolIDs = null;
    public $RefferenceName = null;
    public $RefferenceID = null;
    public $RefferenceTypeID = null;
    public $ApplicationComment = null;
    public $ApplicationState = null;
    public $ActionUserID = null;
    public $FileList = null;

}

class FileHostoryEntity {

    public $FileRefferenceID = null;
    public $ApplicationID = null;
    public $SchoolID = null;
    public $ApplicationStateID = null;
    public $ActionUserID = null;
    public $UploadFileName = null;
    public $UploadFileComment = null;

}

class FileSuplementEntity {
    public $rowApplicationID;
    public $rowHandleSchoolID;
    public $rowStateID;
    public $rowActionUserID;
    public $newActionUserID;
    public $newActionStateID;
    public $newActionComment;
    public $FileList;

}

/**
 * The entity when user click accept 
 */
class Entity_AcceptApplication {

    public $rowApplicationID;
    public $rowHandleSchoolID;
    public $rowStateID;
    public $rowActionUserID;
    // the advidor accept use
    public $rowAdvisorID;
    public $newActionUserID;
    public $newActionStateID;

}

class returnApplicationEntity {

    public $rowApplicationID;
    public $rowHandleSchoolID;
    public $rowStateID;
    public $rowActionUserID;
    public $newActionStateID;
    public $supplementCommnet;

}

class Entity_AssignAdvisor {

    public $rowApplicationID;
    public $rowHandleSchoolID;
    public $rowStateID;
    public $rowActionUserID;
    // the new 
    public $newActionUserID;
    public $newActionStateID;
    public $newActionCommnet;
    public $newAdvisorID;

}

class Entity_FinaliseApplication {

    public $rowApplicationID;
    public $rowHandleSchoolID;
    public $rowStateID;
    public $rowActionUserID;
    // the new 
    public $newActionUserID;
    public $newActionStateID;
    public $newActionCommnet;
    public $newAdvisorID;

}

?>
